package com.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("exporttable")
public class ExportTable {
	@TableId(value = "exportID",type = IdType.AUTO)
    private int exportID;
    private int dataID;
    private String tablePath;

    public ExportTable(int exportID, int dataID, String tablePath) {
        this.exportID = exportID;
        this.dataID = dataID;
        this.tablePath = tablePath;
    }

    public int getExportID() {
        return exportID;
    }

    public void setExportID(int exportID) {
        this.exportID = exportID;
    }

    public int getDataID() {
        return dataID;
    }

    public void setDataID(int dataID) {
        this.dataID = dataID;
    }

    public String getTablePath() {
        return tablePath;
    }

    public void setTablePath(String tablePath) {
        this.tablePath = tablePath;
    }

    @Override
    public String toString() {
        return "ExpoetTable{" +
                "exportID=" + exportID +
                ", dataID=" + dataID +
                ", tablePath='" + tablePath + '\'' +
                '}';
    }
}